package cn.mooncode.basketballManage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jwz
 * @since 2021-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_playerinfo")
@ApiModel(value="Playerinfo对象", description="球员信息表")
public class Playerinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "球员信息表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "球员姓名")
    private String name;

    @ApiModelProperty(value = "球员年龄")
    private Integer age;

    @ApiModelProperty(value = "球员身高")
    private Double height;

    @ApiModelProperty(value = "球员体重")
    private Double weight;

    @ApiModelProperty(value = "训练进球数")
    private Integer train_goals;

    @ApiModelProperty(value = "比赛进球数")
    private Integer match_goals;

    @ApiModelProperty(value = "训练助攻数")
    private Integer train_assist;

    @ApiModelProperty(value = "比赛助攻数")
    private Integer match_assist;

    @ApiModelProperty(value = "训练抢断数")
    private Integer train_steal;

    @ApiModelProperty(value = "比赛抢断数")
    private Integer match_steal;

    @ApiModelProperty(value = "训练失误数")
    private Integer train_mistake;

    @ApiModelProperty(value = "比赛失误数")
    private Integer match_mistake;

    @ApiModelProperty(value = "训练犯规数")
    private Integer train_foul;

    @ApiModelProperty(value = "比赛犯规数")
    private Integer match_foul;


}
